package org.icnmasjid.member;


/**
 * Constant values used throughout the application.
 *
 * <p>
 * <a href="Constants.java.html"><i>View Source</i></a>
 * </p>
 *
 * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
 */
public class Constants {
    //~ Static fields/initializers =============================================

	public static final String CRYPTO_KEY = "ICN Masjid";

    /** The name of the ResourceBundle used in this application */
    public static final String BUNDLE_KEY = "ApplicationResources";

    /** The encryption algorithm key to be used for passwords */
    public static final String ENC_ALGORITHM = "algorithm";

    /** A flag to indicate if passwords should be encrypted */
    public static final String ENCRYPT_PASSWORD = "encryptPassword";

    /** File separator from System properties */
    public static final String FILE_SEP = System.getProperty("file.separator");

    /** User home from System properties */
    public static final String USER_HOME = System.getProperty("user.home") + FILE_SEP;

    /** The name of the configuration hashmap stored in application scope. */
    public static final String CONFIG = "appConfig";

    /**
     * Session scope attribute that holds the locale set by the user. By setting this key
     * to the same one that Struts uses, we get synchronization in Struts w/o having
     * to do extra work or have two session-level variables.
     */
    public static final String PREFERRED_LOCALE_KEY = "org.apache.struts.action.LOCALE";

    /**
     * The request scope attribute under which an editable user form is stored
     */
    public static final String USER_KEY = "userForm";

    /**
     * The request scope attribute that holds the user list
     */
    public static final String USER_LIST = "userList";

    /**
     * The request scope attribute for indicating a newly-registered user
     */
    public static final String REGISTERED = "registered";

    /**
     * The name of the Administrator role, as specified in web.xml
     */
    public static final String ADMIN_ROLE = "admin";

    /**
     * The name of the User role, as specified in web.xml
     */
    public static final String USER_ROLE = "user";

    /**
     * The name of the user's role list, a request-scoped attribute
     * when adding/editing a user.
     */
    public static final String USER_ROLES = "userRoles";

    /**
     * The name of the available roles list, a request-scoped attribute
     * when adding/editing a user.
     */
    public static final String AVAILABLE_ROLES = "availableRoles";

    /**
     * The name of the CSS Theme setting.
     */
    public static final String CSS_THEME = "csstheme";
//Address-START
    /**
     * The request scope attribute that holds the address form.
     */
    public static final String ADDRESS_KEY = "addressForm";

    /**
     * The request scope attribute that holds the address list
     */
    public static final String ADDRESS_LIST = "addressList";
//Address-END



//AccessGroup-START
    /**
     * The request scope attribute that holds the accessGroup form.
     */
    public static final String ACCESSGROUP_KEY = "accessGroupForm";

    /**
     * The request scope attribute that holds the accessGroup list
     */
    public static final String ACCESSGROUP_LIST = "accessGroupList";
//AccessGroup-END

//Activity-START
    /**
     * The request scope attribute that holds the activity form.
     */
    public static final String ACTIVITY_KEY = "activityForm";

    /**
     * The request scope attribute that holds the activity list
     */
    public static final String ACTIVITY_LIST = "activityList";
//Activity-END

//Language-START
    /**
     * The request scope attribute that holds the language form.
     */
    public static final String LANGUAGE_KEY = "languageForm";

    /**
     * The request scope attribute that holds the language list
     */
    public static final String LANGUAGE_LIST = "languageList";
//Language-END



//MemberInformation-START
    /**
     * The request scope attribute that holds the memberInformation form.
     */
    public static final String MEMBERINFORMATION_KEY = "memberInformationForm";

    /**
     * The request scope attribute that holds the memberInformation list
     */
    public static final String MEMBERINFORMATION_LIST = "memberInformationList";
//MemberInformation-END

//ModeOfCommunication-START
    /**
     * The request scope attribute that holds the modeOfCommunication form.
     */
    public static final String MODEOFCOMMUNICATION_KEY = "modeOfCommunicationForm";

    /**
     * The request scope attribute that holds the modeOfCommunication list
     */
    public static final String MODEOFCOMMUNICATION_LIST = "modeOfCommunicationList";
//ModeOfCommunication-END

//Profession-START
    /**
     * The request scope attribute that holds the profession form.
     */
    public static final String PROFESSION_KEY = "professionForm";

    /**
     * The request scope attribute that holds the profession list
     */
    public static final String PROFESSION_LIST = "professionList";
//Profession-END

//RelationshipType-START
    /**
     * The request scope attribute that holds the relationshipType form.
     */
    public static final String RELATIONSHIPTYPE_KEY = "relationshipTypeForm";

    /**
     * The request scope attribute that holds the relationshipType list
     */
    public static final String RELATIONSHIPTYPE_LIST = "relationshipTypeList";
//RelationshipType-END

//Skill-START
    /**
     * The request scope attribute that holds the skill form.
     */
    public static final String SKILL_KEY = "skillForm";

    /**
     * The request scope attribute that holds the skill list
     */
    public static final String SKILL_LIST = "skillList";
//Skill-END

//SubOrg-START
    /**
     * The request scope attribute that holds the subOrg form.
     */
    public static final String SUBORG_KEY = "subOrgForm";

    /**
     * The request scope attribute that holds the subOrg list
     */
    public static final String SUBORG_LIST = "subOrgList";
//SubOrg-END

//Subscription-START
    /**
     * The request scope attribute that holds the subscription form.
     */
    public static final String SUBSCRIPTION_KEY = "subscriptionForm";

    /**
     * The request scope attribute that holds the subscription list
     */
    public static final String SUBSCRIPTION_LIST = "subscriptionList";
//Subscription-END



//Person-START
    /**
     * The request scope attribute that holds the person form.
     */
    public static final String PERSON_KEY = "personForm";

    /**
     * The request scope attribute that holds the person list
     */
    public static final String PERSON_LIST = "personList";
//Person-END

//Login-START
    /**
     * The request scope attribute that holds the login form.
     */
    public static final String LOGIN_KEY = "loginForm";

    /**
     * The request scope attribute that holds the login list
     */
    public static final String LOGIN_LIST = "loginList";
//Login-END

//PaymentCategory-START
    /**
     * The request scope attribute that holds the paymentCategory form.
     */
    public static final String PAYMENTCATEGORY_KEY = "paymentCategoryForm";

    /**
     * The request scope attribute that holds the paymentCategory list
     */
    public static final String PAYMENTCATEGORY_LIST = "paymentCategoryList";
//PaymentCategory-END

//Registration-START
    /**
     * The request scope attribute that holds the registration form.
     */
    public static final String REGISTRATION_KEY = "registrationForm";

    /**
     * The request scope attribute that holds the registration list
     */
    public static final String REGISTRATION_LIST = "registrationList";
//Registration-END

	public static final String SMTP_PORT = "25";

	public static final String EMAIL_FROM = "ICN.Membership@icnnet.org";

	public static final String PASS_PHRASE = "ICN Masjid";

	public static Object SMTP_HOST = "localhost";

}


















